var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var rateSchema = new Schema({
    //这里根据你的数据库的内容来更改
    "openid": String,
    "value": Number,
    "text": String
});
module.exports = mongoose.model('rate', rateSchema, 'rate');